package form_structs

type CopyRightForm struct{

PostID string `json:"post_id" form:"post_id" orm:"column(post_id)"`

AppName string `json:"app_name" form:"app_name" orm:"column(app_name)"` //app的名称

Version string `json:"version" form:"version" orm:"column(version)"` //app的版本

PlatForm string `json:"platform" form:"platform" orm:"column(platform)"` //app运行的平台

Category string `json:"category" form:"category" orm:"column(category)"` //app的分类

CreatedAt string `json:"created_at" form:"created_at" orm:"column(created_at)"` //创建的时间

FileMD5 string `json:"file_md5" form:"file_md5" orm:"column(file_md5)"` //文件的md5校验值

UpdatedAt string `json:"updated_at" form:"updated_at" orm:"column(updated_at)"` //修改的时间

DownLoadAuthority string `json:"download_authority" form:"download_authority" orm:"column(download_authority)"` //下载权限

}


//返回表的内容
func ( c *CopyRightForm ) TableName() string {

	return "copyright"

}